<!--
 * @Descripttion: 意见箱 - 投诉与建议
 * @version: 
 * @Author: 王文豪
 * @Date: 2023-09-05 16:19:00
 * @LastEditors: 王文豪
 * @LastEditTime: 2023-09-06 21:10:12
-->
<template>
  <div class="mainPage">
    <div class="width1200 titleLine">
      <div class="title">我的消息详情</div>
    </div>
    <div class="width1200 bodyBlock">
      <div class="formLine">
        <div class="">
          {{ messageObj.messageContent }}
        </div>
      </div>
    </div>
  </div>
</template>

<script>
const axios = require('axios');
export default {
  components: {},
  data() {
    return {
      messageObj:{}
    };
  },
  computed: {},
  mounted() {
    console.log('============',JSON.parse(this.$route.query.obj));
    this.messageObj = JSON.parse(this.$route.query.obj)
    if(this.messageObj.readFlag === '0'){
      let userInfo = JSON.parse(localStorage.getItem("userInfo"))
      let params = {
        id:this.messageObj.id,
        name:userInfo.userName,
      }
      this.$api.upDateStatus(params)
    }
  },
  activated() {},
  methods: {
    
  },
};
</script>
<style lang="scss" scoped>
@import "./index.scss";
</style>
